package com.book.book.dao;

import com.book.book.domain.UsersDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 用户信息表
 * @author siyuan
 * @email 894266364.com
 * @date 2018-01-27 10:53:23
 */
@Mapper
public interface UsersDao {

	UsersDO get(String id);
	
	List<UsersDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UsersDO user);
	
	int update(UsersDO user);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<UsersDO> listWithName(Map<String, Object> map);

    UsersDO getOperId( String openId);
}
